package com.fqxiny.lease.web.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fqxiny.lease.model.entity.RoomInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fqxiny.lease.web.admin.vo.room.RoomDetailVo;
import com.fqxiny.lease.web.admin.vo.room.RoomItemVo;
import com.fqxiny.lease.web.admin.vo.room.RoomQueryVo;
import com.fqxiny.lease.web.admin.vo.room.RoomSubmitVo;

import java.util.List;

/**
* @author 25312
* @description 针对表【room_info(房间信息表)】的数据库操作Service
* @createDate 2025-03-25 19:55:24
*/
public interface RoomInfoService extends IService<RoomInfo> {
    RoomDetailVo getDetailById (Long id);

    void saveOrUpdateRoom(RoomSubmitVo entity);

    IPage<RoomItemVo> pageItem(IPage<RoomItemVo> page ,RoomQueryVo roomQueryVo);

    void removeRoomById(Long id);
}
